// 商品发布功能的Mock数据

// 商品类目数据（三级联动）
export const categoryData = [
  {
    id: 1,
    name: '服装鞋帽',
    children: [
      {
        id: 5,
        name: '女装',
        children: [
          { id: 8, name: '连衣裙' },
          { id: 9, name: 'T恤' }
        ]
      },
      {
        id: 6,
        name: '男装',
        children: [
          { id: 10, name: '休闲裤' }
        ]
      },
      {
        id: 7,
        name: '鞋靴',
        children: [
          { id: 11, name: '运动鞋' }
        ]
      }
    ]
  },
  {
    id: 2,
    name: '美妆个护',
    children: [
      {
        id: 11,
        name: '面部护肤',
        children: [
          { id: 14, name: '面霜' },
          { id: 15, name: '面膜' }
        ]
      },
      {
        id: 12,
        name: '彩妆',
        children: [
          { id: 16, name: '口红' }
        ]
      },
      {
        id: 13,
        name: '个人清洁',
        children: [
          { id: 17, name: '洗发水' }
        ]
      }
    ]
  },
  {
    id: 3,
    name: '食品生鲜',
    children: [
      {
        id: 17,
        name: '休闲食品',
        children: [
          { id: 20, name: '薯片' },
          { id: 21, name: '坚果' }
        ]
      },
      {
        id: 18,
        name: '生鲜水果',
        children: [
          { id: 22, name: '苹果' },
          { id: 23, name: '草莓' }
        ]
      }
    ]
  },
  {
    id: 4,
    name: '家居家电',
    children: [
      {
        id: 23,
        name: '家用电器',
        children: [
          { id: 28, name: '电饭煲' },
          { id: 29, name: '吹风机' }
        ]
      },
      {
        id: 24,
        name: '家居用品',
        children: [
          { id: 30, name: '床上四件套' },
          { id: 31, name: '毛巾' }
        ]
      }
    ]
  }
]

// 商品属性规格数据（根据三级类目）
export const attributeData = {
  8: { // 连衣裙
    categoryName: '连衣裙',
    attributes: [
      { name: '尺码', values: ['S', 'M', 'L', 'XL'], isSaleAttr: true },
      { name: '颜色', values: ['黑色', '白色', '粉色', '红色', '蓝色'], isSaleAttr: true },
      { name: '面料', values: ['棉', '雪纺', '聚酯纤维'], isSaleAttr: false },
      { name: '袖长', values: ['短袖', '长袖', '无袖'], isSaleAttr: false }
    ]
  },
  9: { // T恤
    categoryName: 'T恤',
    attributes: [
      { name: '尺码', values: ['S', 'M', 'L', 'XL'], isSaleAttr: true },
      { name: '颜色', values: ['黑色', '白色', '灰色', '红色', '蓝色'], isSaleAttr: true },
      { name: '面料', values: ['纯棉', '混纺'], isSaleAttr: false },
      { name: '领型', values: ['圆领', 'V领'], isSaleAttr: false }
    ]
  },
  10: { // 休闲裤
    categoryName: '休闲裤',
    attributes: [
      { name: '尺码', values: ['28', '29', '30', '31', '32', '33', '34'], isSaleAttr: true },
      { name: '颜色', values: ['黑色', '深蓝', '卡其色', '灰色'], isSaleAttr: true },
      { name: '面料', values: ['牛仔', '休闲布'], isSaleAttr: false },
      { name: '裤型', values: ['直筒', '修身'], isSaleAttr: false }
    ]
  },
  11: { // 运动鞋
    categoryName: '运动鞋',
    attributes: [
      { name: '尺码', values: ['38', '39', '40', '41', '42', '43', '44'], isSaleAttr: true },
      { name: '颜色', values: ['黑色', '白色', '灰色', '蓝色', '红色'], isSaleAttr: true },
      { name: '鞋面材质', values: ['网布', '皮革'], isSaleAttr: false },
      { name: '功能', values: ['减震', '防滑', '透气'], isSaleAttr: false }
    ]
  },
  14: { // 面霜
    categoryName: '面霜',
    attributes: [
      { name: '规格', values: ['50g', '100g'], isSaleAttr: true },
      { name: '肤质', values: ['干性', '油性', '混合性'], isSaleAttr: true },
      { name: '功效', values: ['保湿', '抗老', '美白'], isSaleAttr: false },
      { name: '质地', values: ['乳霜', '膏状'], isSaleAttr: false }
    ]
  },
  15: { // 面膜
    categoryName: '面膜',
    attributes: [
      { name: '规格', values: ['5片/盒', '10片/盒'], isSaleAttr: true },
      { name: '类型', values: ['贴片式', '涂抹式'], isSaleAttr: true },
      { name: '功效', values: ['补水', '修复', '提亮'], isSaleAttr: false },
      { name: '使用频率', values: ['每周2-3次'], isSaleAttr: false }
    ]
  },
  16: { // 口红
    categoryName: '口红',
    attributes: [
      { name: '规格', values: ['3.5g/支'], isSaleAttr: true },
      { name: '色号', values: ['#999', '#405', '#501', '#520'], isSaleAttr: true },
      { name: '质地', values: ['哑光', '滋润', '丝绒'], isSaleAttr: false },
      { name: '妆效', values: ['显白', '日常'], isSaleAttr: false }
    ]
  },
  17: { // 洗发水
    categoryName: '洗发水',
    attributes: [
      { name: '规格', values: ['300ml', '500ml', '1L'], isSaleAttr: true },
      { name: '功效', values: ['去屑', '控油', '滋养'], isSaleAttr: true },
      { name: '适用发质', values: ['油性', '干性', '受损'], isSaleAttr: false }
    ]
  },
  20: { // 薯片
    categoryName: '薯片',
    attributes: [
      { name: '规格', values: ['40g/包', '100g/包'], isSaleAttr: true },
      { name: '口味', values: ['原味', '番茄味', '烧烤味'], isSaleAttr: true },
      { name: '包装', values: ['袋装', '罐装'], isSaleAttr: false },
      { name: '保质期', values: ['6个月'], isSaleAttr: false }
    ]
  },
  21: { // 坚果
    categoryName: '坚果',
    attributes: [
      { name: '规格', values: ['200g/罐', '500g/罐'], isSaleAttr: true },
      { name: '种类', values: ['巴旦木', '核桃', '腰果'], isSaleAttr: true },
      { name: '加工方式', values: ['盐焗', '原味', '奶油味'], isSaleAttr: false }
    ]
  },
  22: { // 苹果
    categoryName: '苹果',
    attributes: [
      { name: '规格', values: ['5斤/箱', '10斤/箱'], isSaleAttr: true },
      { name: '品种', values: ['红富士', '嘎啦果'], isSaleAttr: true },
      { name: '果径', values: ['75mm', '80mm以上'], isSaleAttr: false },
      { name: '成熟度', values: ['全熟'], isSaleAttr: false }
    ]
  },
  23: { // 草莓
    categoryName: '草莓',
    attributes: [
      { name: '规格', values: ['1斤/盒', '2斤/盒'], isSaleAttr: true },
      { name: '品种', values: ['红颜', '章姬'], isSaleAttr: true },
      { name: '新鲜度', values: ['当日', '次日达'], isSaleAttr: false },
      { name: '大小', values: ['大果', '中果'], isSaleAttr: false }
    ]
  },
  28: { // 电饭煲
    categoryName: '电饭煲',
    attributes: [
      { name: '规格', values: ['3L', '4L', '5L'], isSaleAttr: true },
      { name: '功率', values: ['600W', '800W'], isSaleAttr: true },
      { name: '功能', values: ['煮饭', '煲汤', '预约'], isSaleAttr: false },
      { name: '内胆材质', values: ['不粘涂层'], isSaleAttr: false }
    ]
  },
  29: { // 吹风机
    categoryName: '吹风机',
    attributes: [
      { name: '规格', values: ['1600W', '2000W'], isSaleAttr: true },
      { name: '风速', values: ['3档调节'], isSaleAttr: true },
      { name: '功能', values: ['冷热风', '负离子'], isSaleAttr: false },
      { name: '重量', values: ['轻量化'], isSaleAttr: false }
    ]
  },
  30: { // 床上四件套
    categoryName: '床上四件套',
    attributes: [
      { name: '规格', values: ['1.5m床', '1.8m床', '2.0m床'], isSaleAttr: true },
      { name: '面料', values: ['纯棉', '磨毛', '真丝'], isSaleAttr: true },
      { name: '花色', values: ['纯色', '印花'], isSaleAttr: false },
      { name: '支数', values: ['40支', '60支'], isSaleAttr: false }
    ]
  },
  31: { // 毛巾
    categoryName: '毛巾',
    attributes: [
      { name: '规格', values: ['34cm×76cm'], isSaleAttr: true },
      { name: '材质', values: ['纯棉', '竹纤维'], isSaleAttr: true },
      { name: '克重', values: ['100g', '120g'], isSaleAttr: false },
      { name: '用途', values: ['洗脸', '洗澡'], isSaleAttr: false }
    ]
  }
}

// 商品品牌数据
export const brandData = [
  { id: 1, name: '优衣库', logo: '' },
  { id: 2, name: 'ZARA', logo: '' },
  { id: 3, name: '耐克', logo: '' },
  { id: 4, name: '阿迪达斯', logo: '' },
  { id: 5, name: '兰蔻', logo: '' },
  { id: 6, name: '雅诗兰黛', logo: '' },
  { id: 7, name: '欧莱雅', logo: '' },
  { id: 8, name: '三只松鼠', logo: '' },
  { id: 9, name: '良品铺子', logo: '' },
  { id: 10, name: '美的', logo: '' },
  { id: 11, name: '九阳', logo: '' },
  { id: 12, name: '无印良品', logo: '' }
]

// 库存单位数据
export const stockUnits = [
  { value: '件', label: '件' },
  { value: '个', label: '个' },
  { value: '台', label: '台' },
  { value: '套', label: '套' },
  { value: '盒', label: '盒' },
  { value: '瓶', label: '瓶' },
  { value: '包', label: '包' },
  { value: '斤', label: '斤' },
  { value: 'kg', label: 'kg' }
]

// 仓库地址数据
export const warehouseLocations = [
  { value: '北京仓', label: '北京仓' },
  { value: '上海仓', label: '上海仓' },
  { value: '广州仓', label: '广州仓' },
  { value: '深圳仓', label: '深圳仓' },
  { value: '杭州仓', label: '杭州仓' },
  { value: '成都仓', label: '成都仓' },
  { value: '武汉仓', label: '武汉仓' },
  { value: '西安仓', label: '西安仓' }
]

// 商品模板数据
export const templateData = [
  {
    id: 1,
    name: '简约模板',
    image: 'https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=400&h=300&fit=crop',
    type: '通用',
    description: '简洁大方的商品展示模板'
  },
  {
    id: 2,
    name: '时尚模板',
    image: 'https://images.unsplash.com/photo-1445205170230-053b83016050?w=400&h=300&fit=crop',
    type: '服装',
    description: '时尚潮流的服装展示模板'
  },
  {
    id: 3,
    name: '科技模板',
    image: 'https://images.unsplash.com/photo-1468495244123-6c6c332eeece?w=400&h=300&fit=crop',
    type: '电子',
    description: '科技感十足的电子产品模板'
  },
  {
    id: 4,
    name: '清新模板',
    image: 'https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?w=400&h=300&fit=crop',
    type: '美妆',
    description: '清新自然的美妆产品模板'
  },
  {
    id: 5,
    name: '高端模板',
    image: 'https://images.unsplash.com/photo-1523275335684-37898b6baf30?w=400&h=300&fit=crop',
    type: '奢侈品',
    description: '高端大气的奢侈品模板'
  },
  {
    id: 6,
    name: '活力模板',
    image: 'https://images.unsplash.com/photo-1556906781-9a412961c28c?w=400&h=300&fit=crop',
    type: '运动',
    description: '充满活力的运动产品模板'
  },
  {
    id: 7,
    name: '温馨模板',
    image: 'https://images.unsplash.com/photo-1513694203232-719a280e022f?w=400&h=300&fit=crop',
    type: '家居',
    description: '温馨舒适的家居产品模板'
  },
  {
    id: 8,
    name: '美食模板',
    image: 'https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=400&h=300&fit=crop',
    type: '食品',
    description: '诱人可口的食品展示模板'
  }
]
